﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="order.aspx.cs" Inherits="HelloASPX.order" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>生成订单</title>
	<link href="./css/bootstrap.min.css" rel="stylesheet" />
	<script type="text/javascript" src="./js/jquery.min.js"></script>
</head>
<body>
    <form id="form1" runat="server">
	<header style="width:100%; height:70px;">
		<div class="logo"><a href="ProductList.aspx"><img src="./img/logo.png" style="width:150px;height:70px;"/></a>
			<asp:Button ID="useradminButton" runat="server" Text="用户管理"  style="margin:10px 20px; border:0; background-color:skyblue; color:aliceblue; height:50px;" OnClick="useradminButton_Click"/>
            <asp:Button ID="AddProduct" runat="server" Text="添加商品"  style="margin:10px 20px; border:0; background-color:skyblue; color:aliceblue; height:50px;" OnClick="AddProduct_Click"/>
		</div>
		<div class="useradmin">
		</div>
	</header>
        <div class="container">
		<div class="row">
		  <div class="col-xs-3 col-md-3">
		    <a href="#" class="thumbnail">
                <asp:Image ID="ProductDetailImage" runat="server" style="width: 200px;height: 200px;"/>
		    </a>
		  </div>
		  <div class="col-xs-6 col-md-6">
		   	<div class="panel panel-default" style="height: 560px">
			  <div class="panel-heading">生成订单</div>
			  <div class="panel-body">
			    <h3>产品名称:<asp:Label ID="ProductDetailName" runat="server"></asp:Label></h3>
			    <div style="margin-left: 10px;">
					<p>产品价格:&nbsp;&nbsp;&nbsp;<asp:Label ID="ProductDetailPrice" runat="server" class="text-danger" style="font-size: 15px;"></asp:Label></p>
				    <p>上市时间:&nbsp;&nbsp;&nbsp;<asp:Label ID="ProductDetailTime" runat="server"></asp:Label></p>
				    <p>详细介绍:</p>
				    <p>&nbsp;&nbsp;<asp:Label ID="ProductDetailInfo" runat="server"></asp:Label></p>
					<p>
                        收 件 人 ： <asp:TextBox ID="Recipient" runat="server" style="width:200px;height:25px;"></asp:TextBox>
					</p>
					<p>
						收件地址：<asp:TextBox ID="address" runat="server" style="width:200px;height:25px;"></asp:TextBox>
					</p>
					<p>
                        联系电话：<asp:TextBox ID="telphone" runat="server" style="width:200px;height:25px;"></asp:TextBox>
					</p>
			    </div>
                  <asp:Button ID="createOrder" runat="server" Text="生成订单" OnClick="createOrder_Click" />
			  </div>
			</div>
		  </div>
		</div>
	</div>
    </form>
</body>
</html>
